package com.lsh.service;

import com.lsh.pojo.LoginTicket;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 刘书豪
 * @since 2022-07-22
 */
public interface ILoginTicketService extends IService<LoginTicket> {
    LoginTicket getTicketByTicket(String ticket);
    int insert(LoginTicket loginTicket);
    LoginTicket getTicketByUserId(int id);
}
